package the.workshop.bu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

/**
 * <p>
 * 客户信审产品
 * </p>
 *
 * @author lei.liu
 * @since 2020-06-28
 */
@Data
@TableName("bu_credit_product")
public class CreditProduct extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;

    /**
     * 信审ID
     */
    @TableField("credit_id")
    private Integer creditId;

    /**
     * 产品ID
     */
    @TableField("product_id")
    private Integer productId;

    /**
     * 金额
     */
    @TableField("amount")
    private String amount;

    @TableField("deadline")
    private String deadline;

    @TableField("brokerage")
    private String brokerage;

    @TableField("rebate")
    private String rebate;
}
